package com.dongrj.framework.excel.converter;

import java.util.Map;
import java.util.function.Function;

public abstract class AbstractIntConverter extends AbstractConverter<Integer> {

    public abstract Map<Integer, String> sourceMap();

    @Override
    public Function<Integer, String> source() {
        return sourceMap()::get;
    }
}
